<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<%@include file="/WEB-INF/jsp/include/tags.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>receiverMessage - write</title>
	<link rel="stylesheet" type="text/css" href="/css/style.css"/>
	<script type="text/javascript">
	<!--
		function goEdit() {
			var f = document.receiverMessageCriteriaForm;
			f.action = '/receiverMessageEdit.do';
			f.method = 'get';
			f.elements["mode"].value = 'edit';
			f.submit();
		}
		
		function goDelete() {
			var f = document.receiverMessageCriteriaForm;
			f.action = '/receiverMessage.do';
			f.method = 'post';
			f.elements["mode"].value = 'delete';
			f.submit();
		}

		function goList() {
			var f = document.receiverMessageCriteriaForm;
			f.action = '/receiverMessage.do';
			f.method = 'get';
			f.elements["mode"].value = 'list';
			f.submit();
		}
	//-->
	</script>
</head>
<body>
	
	<p><a href="/">home</a></p>
	
	<h1>ReceiverMessage - detail</h1>
	
	<form:form commandName="receiverMessageCriteria" id="receiverMessageCriteriaForm" name="receiverMessageCriteriaForm" action="/receiverMessage.do" method="get">
	<input type="hidden" name="mode"/>
	<form:hidden path="msgReId"/>
	<form:hidden path="paging.currentPage"/>
	</form:form>
	
	<table width="800">
		<colgroup width="800">
			<col width="100"/>
			<col width="*"/>
		</colgroup>
		<tr>
			<th>msgReId</th>
			<td>
				<c:out value="${receiverMessage.msgReId}"/>
			</td>
		</tr>
		<tr>
			<th>msgTitle</th>
			<td>
				<c:out value="${receiverMessage.msgTitle}"/>
			</td>
		</tr>
		<tr>
			<th>msgContent</th>
			<td>
				<c:out value="${receiverMessage.msgContent}"/>
			</td>
		</tr>
		<tr>
			<th>sendTime</th>
			<td>
				<fmt:formatDate value="${receiverMessage.sendTime}" pattern="yyyy-MM-dd HH:mm:ss"/>
			</td>
		</tr>
		<tr>
			<th>msgSendUser</th>
			<td>
				<c:out value="${receiverMessage.msgSendUser}"/>
			</td>
		</tr>
		<tr>
			<th>msgReceiverUser</th>
			<td>
				<c:out value="${receiverMessage.msgReceiverUser}"/>
			</td>
		</tr>
		<tr>
			<th>siteId</th>
			<td>
				<c:out value="${receiverMessage.siteId}"/>
			</td>
		</tr>
		<tr>
			<th>msgStatus</th>
			<td>
				<c:out value="${receiverMessage.msgStatus}"/>
			</td>
		</tr>
		<tr>
			<th>msgBox</th>
			<td>
				<c:out value="${receiverMessage.msgBox}"/>
			</td>
		</tr>
		<tr>
			<th>msgId</th>
			<td>
				<c:out value="${receiverMessage.msgId}"/>
			</td>
		</tr>
	</table>

	<p/>
	
	<a href="<c:url value='javascript:goEdit();'/>">edit</a>
	<a href="<c:url value='javascript:goDelete();'/>">delete</a>
	<a href="<c:url value='javascript:goList();'/>">list</a>

</body>
</html>
